package com.example.aigc_education.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName stu_todo_v2
 */
@TableName(value ="stu_todo_v2")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TodoV2 implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long todoId;

    /**
     * 标题
     */
    private String title;

    /**
     *
     */
    private String icon;

    /**
     * 
     */
    private Integer priority;

    /**
     * 
     */
    private Date deadline;

    /**
     * 
     */
    private Integer todoType;

    /**
     * 
     */
    private Integer focusMode;

    /**
     * 
     */
    private Integer timeMode;

    /**
     * 
     */
    private Integer focusTime;

    /**
     *
     */
    private Integer completed;

    /**
     *
     */
    private Long userId;

    /**
     * 
     */
    private Integer status;

    /**
     * 创建者
     */
    @TableField(fill = FieldFill.INSERT)
    private Long createBy;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 更新者
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateBy;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}